package com.event.management.backend.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;

/**
 * 在线用户信息DTO
 */
@Data
@ApiModel(description = "在线用户信息")
public class OnlineUserDTO {
    
    @ApiModelProperty(value = "用户ID", example = "1")
    private Integer userId;
    
    @ApiModelProperty(value = "用户名", example = "admin")
    private String username;
    
    @ApiModelProperty(value = "角色", example = "admin")
    private String role;
    
    @ApiModelProperty(value = "登录IP", example = "127.0.0.1")
    private String loginIp;
    
    @ApiModelProperty(value = "登录时间", example = "2023-04-05 14:30:00")
    private Date loginTime;
    
    @ApiModelProperty(value = "token值", example = "xxxx-xxxx-xxxx-xxxx")
    private String tokenValue;
} 